<?php
class Computer {
	public $cpu = 'amd 5000';
	public $mainboard = '华硕 9000x';
	private $hd = 512;

	public function __destruct(){
			echo "关闭电源";
		
	}
	public function game(){
		echo "－－玩游戏－－";
	}

}

$computer = new Computer(1);
$computer->game();
unset($computer);
echo "good job";